home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 146
/
(Vol 146) Jan 07 2012.iso
/
Games
/
thrust_2.swf
/
scripts
/
frame_21
/
PlaceObject2_88_532
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
Wrap
Text File
|
2012-01-07
|
283b
|
14 lines
onClipEvent(enterFrame){
if(this.hitTest(_root.ship))
{
_root.ship.momentumx = 0;
_root.ship.momentumy = 0;
_root.ship.gotoAndStop("Explode");
this.bx = 0;
this.by = 0;
this._x = 1000;
}
this._x -= bx;
this._y -= by;
}